import React from "react";

//核销员列表
export async function apiPersonnelPage(params) {
    return await React.$post('/management/verificationPersonnelInfo/page', params);
}
//核销员新增
export async function apiPersonnelAdd(params) {
    return await React.$post('/management/verificationPersonnelInfo/add', params);
}
//核销员修改
export async function apiPersonnelEdit(params) {
    return await React.$post('/management/verificationPersonnelInfo/edit', params);
}
//核销员删除
export async function apiPersonnelDel(params) {
    return await React.$post('/management/verificationPersonnelInfo/del', params);
}
//核销记录
export async function apiVerificationRecords(params) {
    return await React.$post('/management/verificationRecords/page', params);
}
//配送员分页查询
export async function apiVerificationPersonnelInfoDeliverymanPage(params) {
    return await React.$post('/management/verificationPersonnelInfo/deliverymanPage', params);
}

// 新增配送车辆
export async function apiDeliverymanCarInfoAdd(params) {
    return await React.$post('/management/deliverymanCarInfo/add', params);
}
// 配送车辆分页
export async function apiDeliverymanCarInfoPage(params) {
    return await React.$post('/management/deliverymanCarInfo/page', params);
}

// 配送车辆详情
export async function apiDeliverymanCarInfoView(params) {
    return await React.$get('/management/deliverymanCarInfo/view', params);
}
// 配送车辆修改
export async function apiDeliverymanCarInfoEdit(params) {
    return await React.$post('/management/deliverymanCarInfo/edit', params);
}

// 配送车辆批量修改状态
export async function apiDeliverymanCarInfoBatchUpdateStatus(params) {
    return await React.$post('/management/deliverymanCarInfo/batchUpdateStatus', params);
}
